<template>
  <div>
    <!-- <svg-icon name="dog" color="pink" width="100px" height="100px"></svg-icon> -->
    <router-view></router-view>
  </div>
</template>

<script setup lang="ts">
import { onMounted } from "vue";
// import { reqLogin } from "./api/user/index";
// 获取用户相关的小仓库
// import useUserStore from "../src/store/modules/user";
// let userStore = useUserStore();
// 首页挂载完毕发送请求获取用户信息
onMounted(() => {
  // reqLogin({
  //   username: "admin",
  //   password: "123456",
  // }).then((res) => {
  //   console.log(res);
  // });
});
</script>

<style scoped lang="scss">
.title {
  color: $base-color;
}
</style>
